home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000150_amos-request@svcs1.digex.net_Wed Sep 17 00:39:13 1997.msg < prev    next >
Text File  |  1997-10-01  |  3KB  |  76 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id AAA01459
  3.     for <mcox@access.digex.net>; Wed, 17 Sep 1997 00:39:12 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id XAA15298
  6.     for amos-out; Tue, 16 Sep 1997 23:22:42 -0400 (EDT)
  7. Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id XAA15295
  9.     for <amos-list@svcs1.digex.net>; Tue, 16 Sep 1997 23:22:41 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id XAA26294
  12.     for <amos-list@access.digex.net>; Tue, 16 Sep 1997 23:22:40 -0400 (EDT)
  13. Received: (qmail 22322 invoked from network); 17 Sep 1997 03:23:30 -0000
  14. Received: from lp8-14.redrose.net (HELO redrose.net) (mushy-pd@205.246.86.110)
  15.   by mail.redrose.net with SMTP; 17 Sep 1997 03:23:30 -0000
  16. From: Mush <mushypd@redrose.net>
  17. Reply-To: mushypd@redrose.net
  18. To: Jamie Bentley <sniper@technet2000.com.au>
  19. CC: amos-list@access.digex.net
  20. Date: Tue, 16 Sep 1997 23:25:31 +0500
  21. Message-ID: <yam7198.1586.3595520@mail.redrose.net>
  22. In-Reply-To: <yam7199.814.270870024@marvin.technet2000.com.au>
  23. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  24. Organization: Mushroom PD - AMOS Public Domain Library
  25. Subject: Re: I need HELP
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. The man most directly responsible for this twaddle was Jamie Bentley, who did
  32. thus comment on I need HELP on the night of 17-Sep-97:
  33. ->  Okay guys.
  34.  
  35. ->  I'm making a Lemmings clone, and I've got to make the lemming BOBS trace
  36. the
  37. -> ground, so they appear to be walking on it, the ground is NOT a bob, and is
  38. a
  39. -> background (basicly I PASTE bobs to it, so its more or less an IFF
  40. picture).
  41.  
  42. ->  Does anybody know a sort of easy way I can have a lemmings walk up and
  43. down
  44. -> along the ground, and if he comes up to a wall (about 6 pixels high) turns
  45. -> around?
  46.  
  47. Once again, another possibility for the for the F Point command (Scan the
  48. point
  49. of a screen for the colour of the pixel).
  50.  
  51. If your floor is based of a series of pallete colours (say 5 to 11) and using
  52. a
  53. SET HOTSPOT on the lemming sprite (or something along those lines) you could
  54. retrieve the colour of the point directly under his feet, and also, directly
  55. in
  56. front say, the 6 pixels high. A second point under his feet should check 1
  57. above
  58. for a non-hit, so that you ensure he is not walking through a floor/wall.
  59.  
  60. If there is no pixel a the point underneath his feet, then it is presumed that
  61. he is droping down the floor, so move him down until he hits a point. Scanning
  62. to the left/right side of the character at the height of a wall limit, will
  63. produce a hit of wall if the wall is too high, and if it is blank, then you
  64. know
  65. that he can walk up there, else he will not be able to move in that direction.
  66.  
  67. Andrew "Mushroom" Kellett
  68. --
  69.  Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS* + IAPA Team *AMIGA*
  70.   alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
  71.  
  72.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  73.  
  74.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  75.                             mushy-pd.dyn.ml.org
  76.